OLE.HTMLobject_Remap Function
Syntax
Modified_HTML as C = HTMLobject_Remap(HTMLText as c)
Arguments
- Modified_HTML
HTML source with a clsid value for Alpha Anywhere Version 6.
- HTMLText
HTML source with a clsid value for Alpha Anywhere Version 7 or higher.
Description
Remaps object's classid tags using the current alias object settings.
Discussion
The GUID in the HTML string (clsid:EE3218B4-5E36-4435-93D6-FB563D7BAD16) is the version 6 GUID. Each new version of Alpha Anywhere has different GUIDs for internal Alpha Anywhere controls. This function will translate the GUID into the correct GUID for the version of A5 that you are running.
Example
html = <<%str% ... ... %str% if version()>=7 then html = ole.HTMLobject_Remap(html) end if
See Also